<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a th:href="@{/toRegistUser}">注册用户</a>
<a th:href="@{/toRegistMarketers}">注册商家</a>
<a th:href="@{/toRegistCourier}">注册配送员</a>
<a th:href="@{/toLogin}">登录</a>


<form th:action="@{/goodsSearch}" method="get">
    <input type="text" name="search" placeholder="请输入搜索内容">
    <input type="submit" value="搜索">
</form>

<table>
    <tr th:each="marketer : ${marketers}">
        <td><a th:href="@{'/selectGoods/'+${marketer.marketersId}}">
            <img style="width: 400px;height: 400px" th:src="@{'/photo/'+${marketer.avatar}}"></a>
        </td>
        <td th:text="${marketer.marketersName}"></td>
    </tr>
</table>
</body>
</html>